//
// Created by zhouh on 2025/8/19.
//

#ifndef SIX_STEP_MOTOR_H
#define SIX_STEP_MOTOR_H

typedef struct motor
{
    unsigned int base_speed; // rpm
    unsigned char polar_number; // Np
}motor_t;

// 外部接口
extern void motor_init(motor_t *motor, unsigned int speed, unsigned char polar);

#endif //SIX_STEP_MOTOR_H